package com.flash.dailyreport.entity;

import lombok.Data;

/**
 * @author sunyiming
 * @date 2018/9/25
 */
@Data
public class NewsEntity {

    private String time;
    private String title;
    private String type;
    private String link;
    private String hot;
    private String source;

    public NewsEntity(String title) {
        this.title = title;
    }

    public NewsEntity(String type, String title, String time) {
        this.type = type;
        this.title = title;
        this.time = time;
    }

    public NewsEntity(String type, String title, String time, String link, String hot) {
        this.type = type;
        this.title = title;
        this.time = time;
        this.link = link;
        this.hot = hot;
    }

    public NewsEntity(String type, String title, String time, String link, String hot, String source) {
        this.type = type;
        this.title = title;
        this.time = time;
        this.link = link;
        this.hot = hot;
        this.source = source;
    }

    public NewsEntity() {}



}
